<#include "../../page.ftl" />
<#include "../../display.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>

        <th>客户编号</th>
        <th>卡号</th>
        <th>客户姓名</th>
        <th>年龄</th>
        <th>性别</th>
        <th>电话</th>
        <th>身份证</th>
        <th>地址</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if ykUsersTable.rows??>
        <#list ykUsersTable.rows as ykUser>
        <tr>
            <td><input name="ids" type="checkbox" value="${ykUser.id?c}"></td>

            <td>${ykUser.userId!''}</td>
            <td>${ykUser.cardId!''}</td>
            <td>${ykUser.userName!''}</td>
            <td>${ykUser.age!''}</td>

            <td>
                <@display list=sexTypeList value="${ykUser.sex!''}"/>
            </td>
            <td>${ykUser.phone!''}</td>
            <td>${ykUser.staffId!''}</td>
            <td>${ykUser.address!''}</td>
            <td>
                <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${ykUser.id?c});"
                   title="编辑"><i class="fa fa-edit"></i></a>
        </tr>
        </#list>
    </#if>
    </tbody>
</table>
<#if ykUsersTable??>
    <@page table=ykUsersTable formId="search_ykUser_table"/>
</#if>